package com.tuanbiao.data.callback;

/**
 * @author abiao
 * @since 2022/4/28 14:46
 */
public interface OnProgressCallback<T> {

    default void onBefore() {

    }

    void onProgress(int progress, String msg);

    void onFailed(String msg);

    void onSuccess(T t);

    default void onAfter() {

    }

}
